using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Hr;

/// <summary>
/// 班次表
/// </summary>
[SugarTable("hr_shifts")]
public class HrShifts:EntityBase
{
    /// <summary>
    /// 班次名称
    /// </summary>
    [Required]
    [StringLength(255)]
    public string Name { get; set; }
    
    /// <summary>
    /// 颜色
    /// </summary>
    [StringLength(20)]
    public string Color { get; set; }

    /// <summary>
    /// 开始时间
    /// </summary>
    [Required]
    public string StartTime { get; set; }

    /// <summary>
    /// 结束时间
    /// </summary>
    [Required]
    public string EndTime { get; set; }
}